
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public class NameBinding extends org.xteam.parser.runtime.AstNode {
	
	
	protected FieldName name;
	protected IntegerLiteral value;
	
	public NameBinding(Span span, FieldName name,IntegerLiteral value) {
		super(span);
		this.name = name;
		this.value = value;
	}
	
	
	public FieldName getName() {
		return name;
	}
	
	public void setName(FieldName name) {
		this.name = name;
	}
	
	public IntegerLiteral getValue() {
		return value;
	}
	
	public void setValue(IntegerLiteral value) {
		this.value = value;
	}
	

	public void visit(ISledVisitor visitor) {
		visitor.visitNameBinding(this);
	}
}
